<?php
/* 
*[****************************************]
* @Author: liujian
* @Date:   2014-06-30 23:26:18
* @Last Modified by:   Administrator
* @Last Modified time: 2014-07-03 14:08:33
*/
class CommonControl extends Control{
	function __auto(){
		if(!defined('__TEMPLATE__')){
			define('__TEMPLATE__',__ROOT__.'/Template/'.C('index_tpl_style'));
		}
	}
	function dis($tpl){
		$this->display(ROOT_PATH.'Template/'.C('index_tpl_style').'/'.$tpl);
	}
	function code(){
		$code=new Code();
		$code->show();
	}
} 
?>
